package com.pigcloud.sop.gateway.mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * IP黑名单
 * @author wangfm
 */
@Repository
public interface IPBlacklistMapper {

    /**
     * 获取所有IP
     * @return
     */
    @Select("SELECT ip FROM config_ip_blacklist")
    List<String> listAllIP();

}
